//导入路由
import VueRouter from 'vue-router'
//导入路由组件
import Index from './components/index.vue'


//配置路由
var router = new VueRouter({
    routes: [
       {path:'/',redirect:'/index'},
       {path:'/index',component:Index}


    ],
    // linkActiveClass:'mui-active'//覆盖默认的路由高亮的类
})

//将路由信息导出
export default router;